package top.jolyoulu.mytomcat.controller;


import top.jolyoulu.mytomcat.MyRequest;
import top.jolyoulu.mytomcat.MyResponse;
import top.jolyoulu.mytomcat.MyServlet;

/**
 * @Author LuZhouJin
 * @Date 2023/8/4
 */
public class FirstServlet extends MyServlet {
    @Override
    public void doPost(MyRequest request, MyResponse response) throws Exception {
        this.doPost(request,response);
    }

    @Override
    public void doGet(MyRequest request, MyResponse response) throws Exception {
        response.write("This is First Servlet");
    }
}
